﻿using System;
using System.Collections.Generic;
using System.Text;
using System.Data;
using DAO;
using DTO;

namespace BUS
{
    public static class CustomBUS
    {
        #region Nguyen Thanh Duy

        public static DataTable TableQuery(string sql)
        {
            return CustomDAO.TableQuery(sql);
           
        }
        public static DataTable GetLopTheoStatus(string status)
        {
            string sql = "select * from lop where trangthai='" + status + "'";
            return CustomDAO.TableQuery(sql);

        }
        public static Boolean FTableDirect(DataTable dt, string tenbang)
        {
            return CustomDAO.FTableDirect(dt, tenbang);
        }

        #endregion
    }
}
